Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:09:44.607017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 1.667555332183838 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:09:52.971154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.292731523513794 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:10:02.436531
 val : 1 : upload photos already in processing! 
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5998196601867676 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:10:12.079494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 0.726799488067627 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:10:22.129587
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 0.5261855125427246 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:10:32.097364
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
 val : 1 : upload photos already in processing! 
uploaded 0 photos
time to upload: 0.7381365299224854 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:10:42.132802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7945973873138428 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:10:52.061459
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5754578113555908 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:11:02.807660
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5940234661102295 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:11:12.284537
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5499215126037598 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:11:22.337281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7722957134246826 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:11:32.311319
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7745392322540283 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:11:42.328085
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7459802627563477 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:11:52.269814
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.82267165184021 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:12:02.802095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6065607070922852 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:12:12.488797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5861959457397461 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:12:22.503830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7487494945526123 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:12:32.491135
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.539003849029541 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:12:42.591142
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7513377666473389 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:12:52.507813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.753262996673584 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:13:03.341043
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5957040786743164 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:13:12.703533
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.9197802543640137 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:13:22.716979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7708323001861572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:13:32.717126
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7570390701293945 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:13:42.708434
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7758846282958984 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:13:52.729139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7514636516571045 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:14:02.286463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8489055633544922 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:14:11.920074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5224311351776123 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:14:21.966732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5335681438446045 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:14:31.973352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.54537034034729 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:14:42.003526
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5501768589019775 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:14:51.943227
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7498352527618408 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:15:02.641048
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5884602069854736 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:15:12.171970
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.539057731628418 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:15:22.190861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7424540519714355 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:15:32.193866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7800512313842773 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:15:42.198001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7816393375396729 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:15:52.199679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7502090930938721 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:16:02.809469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8461434841156006 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:16:12.534672
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7477586269378662 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:16:22.498502
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5327897071838379 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:16:32.434609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5572257041931152 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:16:42.486483
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5586440563201904 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:16:52.561145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7551565170288086 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:17:03.332687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.7410447597503662 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:17:12.705720
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0159850120544434 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:17:22.787864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7301175594329834 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:17:32.756918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5382328033447266 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:17:42.861642
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7792766094207764 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:17:52.800802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8330883979797363 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:18:02.356945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8182260990142822 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:18:12.028703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8265910148620605 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:18:22.047567
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.531386137008667 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:18:32.024265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7776248455047607 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:18:41.984750
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5398459434509277 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:18:52.056239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5500037670135498 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:19:02.878443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5752754211425781 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:19:12.246946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5172398090362549 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:19:22.306471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7794885635375977 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:19:32.277632
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.045905351638794 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:19:42.439774
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5382497310638428 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:19:52.242027
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8064968585968018 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:20:02.770536
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5976579189300537 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:20:12.465768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.792548418045044 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:20:22.605247
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7536969184875488 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:20:32.491501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5457985401153564 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:20:42.505760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7563266754150391 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:20:52.463010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5516633987426758 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:21:03.203090
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6615831851959229 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:21:12.640697
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.8176350593566895 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:21:22.785253
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5412323474884033 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:21:32.776875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7754511833190918 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:21:42.696588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7823991775512695 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:21:52.682254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7468128204345703 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:22:02.215985
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8056793212890625 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:22:11.862772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7631039619445801 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:22:21.924482
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0119616985321045 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:22:31.924059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7569544315338135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:22:42.038519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7417569160461426 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:22:51.923858
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7566351890563965 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:23:02.553905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5980758666992188 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:23:12.232634
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5523784160614014 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:23:22.194701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5604493618011475 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:23:32.256875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7431230545043945 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:23:42.151158
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.2243015766143799 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:23:52.289760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7660567760467529 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:24:02.861368
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8310947418212891 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:24:12.450029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5319564342498779 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:24:22.599620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7376344203948975 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:24:32.497856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7622156143188477 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:24:42.506832
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9966545104980469 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:24:52.489258
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5331032276153564 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:25:03.234890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6348612308502197 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:25:12.803206
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7472736835479736 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:25:22.805147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.505422830581665 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:25:32.758018
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5781474113464355 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:25:42.746371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7732913494110107 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:25:52.799665
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5795960426330566 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:26:02.306624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8216464519500732 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:26:12.007815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7756564617156982 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:26:22.045510
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5405404567718506 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:26:32.039957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7476410865783691 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:26:41.997986
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 2.4157822132110596 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:26:52.064815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5229332447052002 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:27:02.734468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6912252902984619 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:27:12.323831
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.133195161819458 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:27:22.271329
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.766005277633667 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:27:32.411512
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5392601490020752 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:27:42.355808
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5283050537109375 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:27:52.314323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7466580867767334 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:28:02.887932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5842010974884033 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:28:12.604220
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.833512544631958 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:28:22.481089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.016927719116211 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:28:32.497039
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7496521472930908 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:28:42.462083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7788240909576416 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:28:52.607567
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7591302394866943 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:29:02.469542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.588932991027832 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:29:11.839615
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6243946552276611 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:29:21.920784
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7568144798278809 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:29:31.884301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7287659645080566 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:29:41.857098
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7496140003204346 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:29:51.915893
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5263886451721191 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:30:02.469933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6274721622467041 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:30:12.135171
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7507498264312744 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:30:22.144782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5123047828674316 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:30:32.132120
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7720813751220703 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:30:42.137369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.769376277923584 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:30:52.156044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.550006628036499 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:31:02.970762
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6372964382171631 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:31:12.354465
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7859141826629639 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:31:22.386366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7495777606964111 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:31:32.405476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7495748996734619 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:31:42.403929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7617242336273193 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:31:52.385680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7314755916595459 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:32:02.948843
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6087667942047119 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:32:12.609019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5333797931671143 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:32:22.605471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.759713888168335 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:32:32.606407
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.520993709564209 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:32:42.570729
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7678999900817871 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:32:52.592301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7636640071868896 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:33:02.314096
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5962283611297607 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:33:11.785045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0026309490203857 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:33:21.864731
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5329916477203369 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:33:31.865091
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7924966812133789 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:33:41.815845
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0199785232543945 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:33:51.892813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7723660469055176 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:34:02.443157
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8550500869750977 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:34:12.092443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5943937301635742 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:34:22.143592
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5331218242645264 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:34:32.138297
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.787670373916626 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:34:42.149640
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5421273708343506 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:34:52.120529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7805237770080566 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:35:02.858184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6259255409240723 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:35:12.407345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5586557388305664 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:35:22.341529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7547929286956787 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:35:32.346719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7594225406646729 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:35:42.358420
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7376971244812012 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:35:52.350290
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7657277584075928 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:36:02.877269
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6068403720855713 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:36:12.605966
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5883855819702148 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:36:22.560159
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5452227592468262 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:36:32.574230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5615322589874268 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:36:42.569156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5339467525482178 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:36:52.512044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7371339797973633 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:37:03.345292
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6027777194976807 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:37:12.738270
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.3022587299346924 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:37:22.784302
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7509303092956543 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:37:32.717087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5273640155792236 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:37:42.769495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7902412414550781 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:37:52.725727
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.763373851776123 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:38:02.279230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8404207229614258 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:38:11.888370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7726132869720459 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:38:21.968292
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7400131225585938 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:38:31.929753
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7727348804473877 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:38:41.903652
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5346968173980713 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:38:51.905141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5332152843475342 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:39:02.729954
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5661916732788086 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:39:12.128690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5166885852813721 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:39:22.137644
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7817690372467041 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:39:32.146629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7688238620758057 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:39:42.147822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5352494716644287 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:39:52.171610
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0568287372589111 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:40:02.705470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8504221439361572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:40:12.343722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5202670097351074 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:40:22.449618
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7602605819702148 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:40:32.370950
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5544404983520508 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:40:42.386855
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8186335563659668 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:40:52.468564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.526796817779541 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:41:03.180254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6430160999298096 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:41:12.674991
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.230700969696045 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:41:22.744504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5407447814941406 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:41:32.670987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.765655517578125 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:41:42.676210
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7695937156677246 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:41:52.650208
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7144560813903809 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:42:02.180034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8148155212402344 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:42:11.839374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.001197338104248 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:42:21.921961
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7642691135406494 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:42:31.871437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5438079833984375 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:42:41.859240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7696671485900879 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:42:51.852021
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7535364627838135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:43:02.676156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.600341796875 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:43:12.052460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5428423881530762 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:43:22.131417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5595235824584961 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:43:32.128203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5573306083679199 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:43:42.092576
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7574505805969238 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:43:52.087626
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7776377201080322 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:44:02.664690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8366734981536865 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:44:12.315598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 2.3103175163269043 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:44:22.352586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1933295726776123 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:44:32.347861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7644667625427246 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:44:42.388641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0222787857055664 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:44:52.276777
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7791385650634766 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:45:03.107870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5810196399688721 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:45:12.517909
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7485496997833252 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:45:22.536782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5594029426574707 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:45:32.598114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5580892562866211 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:45:42.539720
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7565345764160156 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:45:52.533959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5333132743835449 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:46:03.082817
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8541383743286133 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:46:12.785217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7637157440185547 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:46:22.801497
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5375461578369141 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:46:32.815218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.765251636505127 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:46:42.881686
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7363896369934082 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:46:52.785486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7757198810577393 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:47:02.488730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5791962146759033 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:47:12.020218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.3447704315185547 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:47:22.105564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7901613712310791 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:47:32.117113
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5640242099761963 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:47:42.077369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5422604084014893 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:47:52.113744
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7931320667266846 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:48:02.680806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6011474132537842 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:48:12.353680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7880830764770508 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:48:22.424486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7604587078094482 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:48:32.343350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5359158515930176 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:48:42.388739
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7693953514099121 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:48:52.275674
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7391810417175293 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:49:02.968888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6194722652435303 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:49:12.479479
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 2.107323408126831 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:49:22.478855
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 2.142810344696045 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:49:32.546897
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.7885470390319824 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:49:42.506508
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5596129894256592 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:49:52.518132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5692360401153564 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:50:03.077757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 2.6811652183532715 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:50:12.707152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5302236080169678 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:50:22.800107
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5172474384307861 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:50:32.746464
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5437631607055664 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:50:42.784802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5118710994720459 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:50:52.742997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7485008239746094 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:51:02.445944
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6250514984130859 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:51:12.034196
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.099912405014038 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:51:21.988624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7909145355224609 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:51:31.990611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7571122646331787 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:51:41.983308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7921066284179688 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:51:51.986279
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.721207857131958 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:52:02.455427
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6014387607574463 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:52:12.123698
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.545872688293457 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:52:22.135431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7560014724731445 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:52:32.127872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5311386585235596 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:52:42.138019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0149362087249756 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:52:52.183953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7834913730621338 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:53:03.024552
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5812103748321533 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:53:12.365228
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7821714878082275 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:53:22.417561
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7600665092468262 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:53:32.409859
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7529382705688477 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:53:42.428732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7896623611450195 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:53:52.349760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7686338424682617 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:54:02.962241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.79705810546875 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:54:12.573968
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5208323001861572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:54:22.532863
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5856766700744629 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:54:32.569288
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.796485424041748 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:54:42.629973
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.521655797958374 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:54:52.568988
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7689378261566162 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:55:02.319735
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5917084217071533 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:55:11.793451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5533220767974854 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:55:21.866898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.006821632385254 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:55:31.832012
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7167849540710449 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:55:41.807960
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7408790588378906 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:55:51.832367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7693648338317871 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:56:02.402756
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8302264213562012 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:56:12.012347
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.801964282989502 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:56:22.099551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5412144660949707 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:56:32.068583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5304696559906006 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:56:42.045874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5174827575683594 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:56:52.068417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5274620056152344 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:57:02.686013
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6459558010101318 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:57:12.307260
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.522007942199707 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:57:22.285620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7560186386108398 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:57:32.375188
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7557218074798584 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 07:59:03.376952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.61592698097229 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:59:12.791224
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5379695892333984 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:59:22.797618
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7497656345367432 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:59:32.763749
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7450857162475586 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:59:42.825058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5151140689849854 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 07:59:52.849985
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7470395565032959 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:00:02.398344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8063216209411621 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:00:12.022067
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.826512336730957 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:00:22.107046
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7831003665924072 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:00:32.046872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7939009666442871 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:00:42.110021
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7749559879302979 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:00:52.046255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5554721355438232 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:01:02.843025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6303465366363525 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:01:12.335806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.8063714504241943 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:01:22.347177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5466437339782715 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:01:32.357948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7470979690551758 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:01:42.315594
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0095798969268799 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:01:52.300777
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5464348793029785 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:02:02.828002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.849400520324707 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:02:12.445535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7279500961303711 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:02:22.529743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8202853202819824 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:02:32.507114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7547402381896973 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:02:42.572946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8250129222869873 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:02:52.504209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8010749816894531 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:03:03.280687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6250264644622803 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:03:12.727762
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5449409484863281 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:03:22.731875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7967112064361572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:03:32.802429
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5296072959899902 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:03:42.735828
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8187599182128906 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:03:52.746138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7888050079345703 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:04:02.269489
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8313190937042236 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:04:11.905008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0372083187103271 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:04:22.077947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7390842437744141 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:04:31.927290
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7897253036499023 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:04:41.967335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8509514331817627 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:04:51.916183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7745821475982666 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:05:02.678279
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5965707302093506 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:05:12.144489
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5481822490692139 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:05:22.166248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5461006164550781 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:05:32.156737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.528785228729248 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:05:42.162351
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7696146965026855 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:05:52.195065
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7533175945281982 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:06:02.740205
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8032746315002441 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:06:12.422351
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7979438304901123 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:06:22.447741
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5399699211120605 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:06:32.426291
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.742917537689209 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:06:42.389860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0181097984313965 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:06:52.378139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.566234827041626 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:07:03.117124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5958993434906006 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:07:12.594368
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.7970538139343262 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:07:22.620802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.8126027584075928 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:07:32.620002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5374250411987305 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:07:42.630718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5952062606811523 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:07:52.653716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7777805328369141 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:08:02.180780
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6181457042694092 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:08:11.836994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8116419315338135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:08:21.909325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7822091579437256 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:08:31.885006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5437402725219727 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:08:41.910297
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7567713260650635 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:08:51.883728
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7778007984161377 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:09:02.603874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5839135646820068 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:09:12.077755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5805914402008057 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:09:22.096162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7790865898132324 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:09:32.155396
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.11220121383667 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:09:42.258182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5417983531951904 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:09:52.136267
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5721678733825684 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:10:02.695550
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.821751594543457 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:10:12.329808
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5367245674133301 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:10:22.378384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7949762344360352 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:10:32.359773
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7465686798095703 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:10:42.348971
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5702528953552246 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:10:52.347393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7778356075286865 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:11:03.145387
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.660728931427002 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:11:12.573666
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5425817966461182 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:11:22.560960
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7421317100524902 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:11:32.592448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7808701992034912 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:11:42.647722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7855899333953857 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:11:52.578289
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.53938889503479 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:12:02.124865
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5875585079193115 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:12:11.793565
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6045150756835938 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:12:21.839272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7756803035736084 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:12:31.865240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7824347019195557 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:12:41.868270
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9968531131744385 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:12:51.907654
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7684006690979004 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:13:02.604015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6126527786254883 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:13:12.092681
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7874636650085449 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:13:22.124613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7998766899108887 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:13:32.150559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7782502174377441 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:13:42.167435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7497577667236328 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:13:52.176335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7932908535003662 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:14:02.703464
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8323955535888672 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:14:12.418600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5410270690917969 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:14:22.450123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5599789619445801 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:14:32.455524
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7635133266448975 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:14:42.519109
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5659942626953125 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:14:52.421679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7811691761016846 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:15:03.126668
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6194131374359131 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:15:12.592281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5540289878845215 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:15:22.723830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0389270782470703 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:15:32.717442
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7723019123077393 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:15:42.639328
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7895646095275879 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:15:52.705447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7448940277099609 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:16:02.207482
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6281583309173584 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:16:11.886475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.77823805809021 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:16:22.075169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5243916511535645 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:16:32.026941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.7903425693511963 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:16:41.946030
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.8420429229736328 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:16:52.069180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5385606288909912 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:17:02.768312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5921072959899902 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:17:12.288272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7777330875396729 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:17:22.374001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5321156978607178 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:17:32.369305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7692410945892334 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:17:42.405480
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0126361846923828 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:17:52.358224
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7422232627868652 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:18:02.867399
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.7985818386077881 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:18:12.669829
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7784945964813232 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:18:22.679065
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7434494495391846 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:18:32.597657
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5240006446838379 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:18:42.577232
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5600535869598389 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:18:52.556173
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5617759227752686 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:19:03.343230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6196341514587402 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:19:12.761783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1297132968902588 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:19:22.920443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.78509521484375 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:19:32.812199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7862746715545654 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:19:42.806331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.767833948135376 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:19:52.834370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7406067848205566 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:20:02.379051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8002111911773682 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:20:12.003546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0081913471221924 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:20:22.115752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7648575305938721 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:20:32.058369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7630720138549805 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:20:42.034752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.781904935836792 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:20:52.064051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5527863502502441 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:21:02.755882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6242446899414062 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:21:12.235184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.666607141494751 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:21:22.273178
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5491335391998291 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:21:32.258028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5507426261901855 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:21:42.327634
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7710719108581543 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:21:52.293872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5544004440307617 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:22:02.818529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8226501941680908 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:22:12.447521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8146610260009766 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:22:22.591823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.789381742477417 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:22:32.530245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.769453763961792 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:22:42.556655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7617850303649902 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:22:52.494565
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0349769592285156 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:23:03.198014
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6168477535247803 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:23:12.692779
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5575385093688965 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:23:22.777848
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7596924304962158 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:23:32.729955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5211827754974365 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:23:42.794085
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7621328830718994 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:23:52.756590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7362401485443115 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:24:02.298864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6019425392150879 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:24:11.946225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7826442718505859 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:24:22.016073
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7805418968200684 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:24:32.066303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7633435726165771 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:24:41.986194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7685563564300537 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:24:51.977444
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7755284309387207 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:25:02.678587
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5841014385223389 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:25:12.273588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5437860488891602 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:25:22.276707
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5311474800109863 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:25:32.193199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0388710498809814 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:25:42.206053
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5179343223571777 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:25:52.204094
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9891643524169922 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:26:02.748964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8105909824371338 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:26:12.413078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7538743019104004 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:26:22.398239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7665307521820068 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:26:32.424730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.746211051940918 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:26:42.388252
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.776949405670166 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:26:52.407814
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7622077465057373 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:27:03.306390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6082658767700195 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:27:12.721130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7586429119110107 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:27:22.752112
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5635128021240234 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:27:32.656551
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5093047618865967 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:27:42.676409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5290493965148926 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:27:52.657947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7417807579040527 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:28:02.197138
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6040866374969482 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:28:11.832903
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7896630764007568 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:28:21.908523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0231459140777588 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:28:31.880431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5503814220428467 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:28:41.924860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7626690864562988 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:28:51.863340
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7923657894134521 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:29:02.698233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6527359485626221 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:29:12.068058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.519416332244873 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:29:22.228641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7568132877349854 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:29:32.190861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7563025951385498 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:29:42.107496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5203924179077148 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:29:52.207381
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.752108097076416 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:30:02.714069
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8081047534942627 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:30:12.357495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5553946495056152 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:30:22.396651
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7916731834411621 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:30:32.395916
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7725470066070557 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:30:42.386055
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5215446949005127 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:30:52.404207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7587275505065918 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:31:03.065529
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6290154457092285 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:31:12.653120
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5158014297485352 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:31:22.661267
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5476701259613037 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:31:32.660261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5288963317871094 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:31:42.738671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5289230346679688 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:31:52.666279
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5299255847930908 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:32:02.141435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5897181034088135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:32:11.916499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5331523418426514 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:32:21.995137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5272221565246582 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:32:31.907078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7829208374023438 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:32:41.974680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.749262809753418 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:32:51.868348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8226892948150635 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:33:02.528411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6193432807922363 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:33:12.061470
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1159203052520752 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:33:22.098880
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7604656219482422 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:33:32.106687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7440292835235596 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:33:42.025086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0145797729492188 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:33:52.031945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7907986640930176 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:34:02.590121
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5797922611236572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:34:12.248251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5891237258911133 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:34:22.236530
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5745315551757812 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:34:32.322821
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7920238971710205 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:34:42.287461
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.7689268589019775 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:34:52.202888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.538442850112915 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:35:02.927599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6402077674865723 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:35:12.418792
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6180694103240967 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:35:22.424284
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7673938274383545 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:35:32.427308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7523767948150635 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:35:42.467864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.513911247253418 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:35:52.399932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7520554065704346 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:36:02.887072
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8301162719726562 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:36:12.542594
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7527174949645996 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:36:22.686563
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5156047344207764 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:36:32.649703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5314927101135254 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:36:42.612556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7370502948760986 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:36:52.576959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5154685974121094 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:37:02.192552
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6342406272888184 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:37:11.790715
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5318167209625244 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:37:21.902089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.540816068649292 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:37:31.874265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7844448089599609 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:37:41.827386
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7999815940856934 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:37:51.801797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7711575031280518 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:38:02.381445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8311741352081299 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:38:12.070795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7533547878265381 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:38:22.064909
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7816128730773926 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:38:32.044957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5583600997924805 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:38:42.039210
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5284581184387207 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:38:52.067785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7885591983795166 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:39:02.752301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6081609725952148 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:39:12.405900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7475969791412354 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:39:22.440067
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7471556663513184 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:39:32.349432
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7556166648864746 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:39:42.322218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0216972827911377 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:39:52.265971
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7763631343841553 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:40:02.892156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8295457363128662 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:40:12.437161
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8315832614898682 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:40:22.468019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.758685827255249 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:40:32.477637
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7563538551330566 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:40:42.471162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5335080623626709 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:40:52.503904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5206832885742188 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:41:03.215833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6192095279693604 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:41:12.674442
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7600865364074707 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:41:22.697543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7600834369659424 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:41:32.700215
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7792627811431885 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:41:42.756954
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5275788307189941 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:41:52.723636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5309224128723145 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:42:02.334428
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6102306842803955 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:42:11.943704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7530097961425781 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:42:21.966256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9852759838104248 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:42:31.956002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7744307518005371 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:42:41.958988
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7759678363800049 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:42:51.956951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7879633903503418 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:43:02.657687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6020851135253906 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:43:12.155793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.618624210357666 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:43:22.195819
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8010306358337402 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:43:32.219149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5484158992767334 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:43:42.178307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.780876636505127 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:43:52.337967
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7793447971343994 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:44:02.808329
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5773417949676514 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:44:12.555778
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7718470096588135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:44:22.581737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.753692626953125 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:44:32.547314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7712409496307373 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:44:42.601131
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7556607723236084 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:44:52.506847
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0237548351287842 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:45:03.263065
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5981636047363281 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:45:12.736296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.563361644744873 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:45:22.784078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7459506988525391 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:45:32.724687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7580070495605469 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:45:42.742246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5220751762390137 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:45:52.705717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7540271282196045 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:46:02.282675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8540396690368652 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:46:11.911925
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6657872200012207 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:46:21.930307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8105082511901855 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:46:31.898442
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7566211223602295 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:46:41.980647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.742389440536499 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:46:51.934674
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7654047012329102 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:47:02.694365
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8335793018341064 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:47:12.127805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5182411670684814 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:47:22.192976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5332942008972168 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:47:32.268637
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5336413383483887 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:47:42.169283
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5370080471038818 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:47:52.185468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5353844165802002 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:48:02.767528
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8261818885803223 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:48:12.365243
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7748537063598633 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:48:22.470412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7364017963409424 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:48:32.411900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5639777183532715 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:48:42.456139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7704017162322998 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:48:52.434077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7541685104370117 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:49:03.152805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5810978412628174 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:49:12.642164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.8349554538726807 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:49:22.747964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.750579833984375 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:49:32.685861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7986025810241699 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:49:42.736254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5600936412811279 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:49:52.657956
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5373024940490723 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:50:02.193538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 1.0319077968597412 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:50:11.819000
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5425498485565186 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:50:21.860026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7466132640838623 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:50:31.947406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7685749530792236 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:50:41.861788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5162568092346191 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:50:51.833449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7515580654144287 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:51:02.640860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5941522121429443 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:51:12.047737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.036024570465088 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:51:22.107338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7709026336669922 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:51:32.188747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.748621940612793 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:51:42.128001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8045444488525391 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:51:52.196794
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5553939342498779 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:52:02.779348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5929930210113525 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:52:12.376256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6764636039733887 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:52:22.433819
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5486049652099609 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:52:32.424244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7642726898193359 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:52:42.417929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0027179718017578 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:52:52.434111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.534578800201416 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:53:03.154051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6841216087341309 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:53:12.681700
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.941633701324463 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:53:22.676498
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.9258415699005127 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:53:32.757851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8103277683258057 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:53:42.688052
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7851762771606445 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:53:52.710110
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7712740898132324 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:54:02.213164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.654515266418457 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:54:11.886588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5647528171539307 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:54:21.984877
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5259699821472168 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:54:31.928262
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7577371597290039 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:54:41.997394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8028528690338135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:54:52.025160
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7846181392669678 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:55:02.737920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.9565634727478027 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:55:12.348181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5662739276885986 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:55:22.377814
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7767002582550049 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:55:32.287584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7857177257537842 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:55:42.383973
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5612897872924805 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:55:52.273307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7401471138000488 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:56:02.792111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8317174911499023 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:56:12.454703
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7766191959381104 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:56:22.527383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.536980390548706 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:56:32.548577
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5638670921325684 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:56:42.519824
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7878701686859131 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:56:52.496845
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5346314907073975 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:57:03.180757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.614408016204834 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:57:12.703906
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7673361301422119 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:57:22.747799
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5430240631103516 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:57:32.717346
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7396230697631836 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 08:59:02.669015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6010527610778809 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:59:12.094111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5546424388885498 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:59:22.307656
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7707674503326416 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:59:32.246342
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7655074596405029 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:59:42.207300
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7808687686920166 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 08:59:52.112333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7856028079986572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:00:02.632828
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8140943050384521 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:00:12.299926
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8029375076293945 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:00:22.416847
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7686488628387451 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:00:32.417678
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7643516063690186 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:00:42.400636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5484619140625 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:00:52.297712
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5335664749145508 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:01:03.033350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5957825183868408 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:01:12.524371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5522375106811523 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:01:22.576430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7811543941497803 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:01:32.547601
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0479943752288818 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:01:42.538502
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7448940277099609 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:01:52.604186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7616705894470215 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:02:02.147457
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.821427583694458 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:02:11.819276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8251607418060303 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:02:21.818006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7371981143951416 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:02:31.827321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.528240442276001 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:02:41.808435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7681798934936523 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:02:51.771246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7939352989196777 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:03:02.566087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6023225784301758 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:03:12.029757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5298788547515869 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:03:22.043773
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7754619121551514 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:03:32.075215
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5553977489471436 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:03:42.056301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7782490253448486 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:03:52.007872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7964315414428711 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:04:02.591283
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5987398624420166 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:04:12.179465
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9855129718780518 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:04:22.219372
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7745797634124756 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:04:32.207568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7962162494659424 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:04:42.332088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7646157741546631 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:04:52.195407
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7781732082366943 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:05:03.017676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5989422798156738 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:05:12.516449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5245153903961182 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:05:22.388659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5986120700836182 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:05:32.554704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7746353149414062 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:05:42.477779
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5353055000305176 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:05:52.469730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7486252784729004 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:06:03.019273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8661177158355713 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:06:12.651333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5263416767120361 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:06:22.709542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7791986465454102 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:06:32.645296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7520058155059814 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:06:42.688711
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.023146152496338 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:06:52.720521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7493429183959961 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:07:02.385987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6193907260894775 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:07:11.996394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.836174726486206 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:07:21.971103
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5209543704986572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:07:31.932149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5230014324188232 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:07:41.892875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5791058540344238 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:07:51.888263
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5657856464385986 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:08:02.425721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8547561168670654 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:08:12.154412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7615776062011719 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:08:22.109440
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.771796464920044 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:08:32.119306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7621183395385742 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:08:42.078440
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7675485610961914 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:08:52.106191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7651174068450928 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:09:02.886093
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6086697578430176 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:09:12.333074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.3379237651824951 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:09:22.327837
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7731578350067139 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:09:32.329494
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5619280338287354 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:09:42.336771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.534123420715332 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:09:52.445162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.54557204246521 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:10:02.987368
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8312857151031494 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:10:12.628120
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7563297748565674 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:10:22.650324
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7590816020965576 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:10:32.661049
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7884454727172852 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:10:42.678537
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5419065952301025 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:10:52.659293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7655413150787354 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:11:02.389766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6121211051940918 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:11:11.892753
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5575854778289795 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:11:21.946635
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7536182403564453 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:11:31.945455
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7646732330322266 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:11:41.916827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0280499458312988 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:11:51.936124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5439064502716064 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:12:02.479088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8525223731994629 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:12:12.143766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8583681583404541 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:12:22.134416
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5952925682067871 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:12:32.167836
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5717973709106445 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:12:42.175562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7969624996185303 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:12:52.174441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5615561008453369 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:13:02.882681
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6099419593811035 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:13:12.422071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7384874820709229 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:13:22.392992
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7649140357971191 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:13:32.367328
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7795240879058838 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:13:42.413653
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7717084884643555 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:13:52.402723
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7665050029754639 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:14:02.991616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5873727798461914 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:14:12.659732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5572836399078369 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:14:22.643769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7650187015533447 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:14:32.665951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5369865894317627 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:14:42.679024
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.034257173538208 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:14:52.594236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.768885612487793 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:15:02.307960
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.611823558807373 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:15:11.851109
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5406763553619385 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:15:21.903244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7852513790130615 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:15:31.890435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7625799179077148 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:15:41.922305
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7753458023071289 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:15:51.906955
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7436323165893555 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:16:02.475243
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8334701061248779 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:16:12.167903
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5796654224395752 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:16:22.166260
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5665669441223145 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:16:32.202986
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5691392421722412 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:16:42.124425
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7738525867462158 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:16:52.226252
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7597494125366211 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:17:03.042418
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6167342662811279 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:17:12.375869
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5623185634613037 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:17:22.573698
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5744287967681885 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:17:32.453538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0037696361541748 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:17:42.430735
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7635495662689209 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:17:52.455916
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.780994176864624 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:18:02.959367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8275108337402344 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:18:12.657886
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7772386074066162 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:18:22.707898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7730624675750732 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:18:32.672766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5226819515228271 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:18:42.714214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5310649871826172 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:18:52.684301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7577366828918457 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:19:02.330976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6357533931732178 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:19:11.902183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7855474948883057 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:19:21.912098
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.758497953414917 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:19:31.936142
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5474205017089844 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:19:41.949900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7841801643371582 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:19:51.918776
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7850222587585449 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:20:02.446351
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6000163555145264 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:20:12.046382
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7860283851623535 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:20:22.118715
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7722775936126709 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:20:32.098591
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7904698848724365 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:20:42.067920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5595059394836426 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:20:52.091993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5353739261627197 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:21:02.926143
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.5662305355072021 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:21:12.330688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5784635543823242 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:21:22.446760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7832579612731934 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:21:32.377835
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7993309497833252 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:21:42.406902
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7602920532226562 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:21:52.382247
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7724974155426025 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:22:02.923367
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8444559574127197 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:22:12.560054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8574976921081543 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:22:22.594989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.089597225189209 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:22:32.609701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7663106918334961 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:22:42.629800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5261108875274658 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:22:52.577226
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5596518516540527 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:23:02.309424
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6062881946563721 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:23:11.785087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5493648052215576 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:23:21.827797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7931280136108398 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:23:31.813923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7762987613677979 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:23:41.804891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7664806842803955 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:23:51.800588
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7559106349945068 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:24:02.356882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6446633338928223 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:24:11.986191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8187928199768066 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:24:21.999381
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5472366809844971 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:24:31.997763
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7778475284576416 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:24:41.995595
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.739612340927124 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:24:52.107643
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7888975143432617 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:25:02.874307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6944723129272461 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:25:12.381806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5825448036193848 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:25:22.378636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5977780818939209 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:25:32.304774
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7459156513214111 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:25:42.327043
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5595946311950684 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:25:52.305981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7500860691070557 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:26:02.822901
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8242995738983154 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:26:12.589352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6373295783996582 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:26:22.528101
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7440025806427002 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:26:32.589288
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.821155309677124 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:26:42.510224
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7902476787567139 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:26:52.596384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7504894733428955 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:27:02.282374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6551494598388672 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:27:11.742831
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7054007053375244 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:27:21.759046
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6401059627532959 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:27:31.816642
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.7996435165405273 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:27:41.748188
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7724859714508057 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:27:51.710433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.544818639755249 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:28:02.302735
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8346271514892578 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:28:11.912778
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9926140308380127 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:28:21.952799
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5558605194091797 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:28:31.977447
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7890322208404541 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:28:41.950310
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7840850353240967 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:28:51.918589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8101990222930908 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:29:02.757641
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.636430025100708 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:29:12.112570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5868020057678223 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:29:22.118323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7780334949493408 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:29:32.222334
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5382850170135498 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:29:42.127746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.558344841003418 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:29:52.123585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5429790019989014 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:30:02.665059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6346936225891113 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:30:12.322574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8387634754180908 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:30:22.369730
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8822426795959473 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:30:32.436371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7900290489196777 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:30:42.395487
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6106505393981934 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:30:52.296242
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0348811149597168 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:31:03.059805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8871710300445557 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:31:12.627609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6421682834625244 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:31:22.516685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7905936241149902 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:31:32.549562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0920889377593994 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:31:42.525954
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7396559715270996 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:31:52.529326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6512067317962646 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:32:03.153675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8451049327850342 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:32:12.702229
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1461710929870605 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:32:22.787801
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7102868556976318 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:32:32.765476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0348575115203857 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:32:42.882549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0214743614196777 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:32:52.766274
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7990598678588867 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:33:02.398209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.7551820278167725 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:33:12.034070
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6657140254974365 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:33:22.011180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8428394794464111 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:33:32.077213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8532054424285889 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:33:41.998781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8567571640014648 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:33:52.059453
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9256970882415771 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:34:02.666093
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6280720233917236 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:34:12.303725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1157786846160889 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:34:22.286369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7890782356262207 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:34:32.326613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6435608863830566 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:34:42.283897
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8168456554412842 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:34:52.261972
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8411192893981934 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:35:02.992475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.7170796394348145 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:35:12.455188
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 2.1503448486328125 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:35:22.499122
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 2.1763880252838135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:35:32.497852
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.2775981426239014 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:35:42.514650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0013151168823242 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:35:52.508840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6670970916748047 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:36:03.114942
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.9917142391204834 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:36:12.662516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.677788496017456 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:36:22.715137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6414852142333984 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:36:32.758187
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 2.7268900871276855 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:36:42.717550
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6791648864746094 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:36:52.704606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7772305011749268 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:37:02.438376
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8963215351104736 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:37:11.894132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6821558475494385 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:37:21.938795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1669023036956787 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:37:31.995798
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7900393009185791 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:37:41.939830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7659633159637451 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:37:52.085066
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8809711933135986 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:38:02.650177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8864936828613281 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:38:12.287414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8356704711914062 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:38:22.289839
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6699700355529785 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:38:32.327215
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6484737396240234 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:38:42.297336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6228289604187012 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:38:52.276802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1467092037200928 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:39:03.093592
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8529007434844971 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:39:12.507275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7660031318664551 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:39:22.578905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8094043731689453 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:39:32.606441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.813037633895874 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:39:42.535409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1275994777679443 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:39:52.541004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8282701969146729 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:40:03.101757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.9085710048675537 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:40:12.732400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9866454601287842 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:40:22.816335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9140825271606445 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:40:32.816152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7527568340301514 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:40:42.816999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5766830444335938 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:40:52.754433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6971800327301025 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:41:02.455240
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.7771434783935547 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:41:11.988321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6485960483551025 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:41:22.008735
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7868270874023438 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:41:32.006971
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9169516563415527 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:41:41.969676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6892004013061523 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:41:51.988691
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.794158935546875 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:42:02.551467
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 1.0502135753631592 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:42:12.169218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1333723068237305 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:42:22.185056
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9787662029266357 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:42:32.322991
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9271087646484375 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:42:42.336120
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8581066131591797 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:42:52.236793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6955645084381104 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:43:02.935289
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 1.0122835636138916 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:43:12.465755
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8094418048858643 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:43:22.440349
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0334570407867432 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:43:32.499502
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5393197536468506 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:43:42.464471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8946042060852051 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:43:52.498613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9827086925506592 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:44:03.022639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8786740303039551 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:44:12.695545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0422122478485107 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:44:22.716919
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9275753498077393 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:44:32.720333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6587612628936768 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:44:42.689842
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0211830139160156 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:44:52.705613
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.81205153465271 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:45:02.485622
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8553822040557861 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:45:11.909739
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6576969623565674 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:45:21.977925
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7236921787261963 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:45:31.914844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.5112025737762451 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:45:41.942170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 2.717421293258667 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:45:51.936578
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6282782554626465 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:46:02.517913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 1.047750473022461 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:46:12.158518
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6637778282165527 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:46:22.233766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8111028671264648 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:46:32.196357
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8728077411651611 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:46:42.275043
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9172582626342773 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:46:52.175827
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8289084434509277 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:47:02.964540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.9048621654510498 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:47:12.404319
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6604597568511963 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:47:22.433241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6615161895751953 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:47:32.436102
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8836865425109863 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:47:42.558006
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9038970470428467 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:47:52.407086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6638696193695068 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:48:02.942458
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.848292350769043 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:48:12.576107
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8342194557189941 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:48:22.628307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7306067943572998 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:48:32.627423
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0665981769561768 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:48:42.625177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9714727401733398 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:48:52.636583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.992924690246582 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:49:02.410972
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8348464965820312 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:49:11.946158
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7167932987213135 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:49:21.915978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8766672611236572 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:49:31.937180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6840243339538574 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:49:41.992301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7522385120391846 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:49:51.829538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.9483802318572998 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:50:02.336321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6680941581726074 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:50:12.039348
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8880724906921387 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:50:22.122397
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8868780136108398 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:50:32.068737
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8925278186798096 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:50:42.167496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8239390850067139 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:50:52.014181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9248979091644287 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:51:02.770552
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.7543377876281738 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:51:12.198816
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.696913480758667 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:51:22.269154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.778127908706665 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:51:32.328882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9002346992492676 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:51:42.252463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5963144302368164 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:51:52.397559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8752162456512451 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:52:02.940656
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.6935334205627441 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:52:12.685184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8943498134613037 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:52:22.747466
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7955403327941895 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:52:32.576545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7575173377990723 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:52:42.768895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9740316867828369 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:52:52.575614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6372747421264648 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:53:02.315206
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.7302718162536621 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:53:11.913450
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6101126670837402 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:53:21.938705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8058826923370361 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:53:31.881344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7145822048187256 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:53:41.816863
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9520549774169922 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:53:51.844795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7159404754638672 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:54:02.382949
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.711789608001709 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:54:12.046467
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6745579242706299 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:54:22.120218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9269263744354248 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:54:32.078080
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6757802963256836 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:54:42.147896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.1368963718414307 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:54:52.125370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0943119525909424 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:55:02.883250
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.9654357433319092 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:55:12.331284
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.682157039642334 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:55:22.447361
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8507087230682373 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:55:32.388078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.032235860824585 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:55:42.378962
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8697240352630615 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:55:52.386578
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.9453206062316895 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:56:02.956441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.9317464828491211 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:56:12.625569
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7903108596801758 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:56:22.700973
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7107107639312744 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:56:32.650663
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.0274548530578613 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:56:42.656523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.5989990234375 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:56:52.654479
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.971078634262085 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:57:02.364037
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.8705084323883057 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:57:11.840654
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7269952297210693 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:57:21.904122
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 1.112025260925293 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:57:31.866410
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.8622574806213379 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 09:59:02.788017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.7602858543395996 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:59:12.409879
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6640763282775879 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:59:22.406857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.880650520324707 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:59:32.290071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.6332414150238037 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:59:42.344210
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.797166109085083 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 09:59:52.345026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16102025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17102025
  port_id : 27875786
  datou_current_id : 3953503
in upload_from_sqlite, uploading in 27875786
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251013 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251014 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251015 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251016 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251017 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg', '/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0
/home/pi/Desktop/images/17102025/14/45/image_17102025_14_45_03_059446_0005.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0000.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0001.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0002.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0003.jpg
/home/pi/Desktop/images/17102025/14/46/image_17102025_14_46_02_924046_0004.jpg
uploaded 0 photos
time to upload: 0.7791965007781982 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=3953503&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:00:02.953058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31122025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08012026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09012026
  port_id : 30066026
  datou_current_id : 4327568
in upload_from_sqlite, uploading in 30066026
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251227 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251228 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251229 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251230 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251231 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260102 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260103 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260104 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260105 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260106 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260107 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260108 ORDER BY id_local ASC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260109 ORDER BY id_local ASC LIMIT 6;
in upload media
 Upload medias :  ['/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg', '/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0000.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0001.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0002.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0003.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0004.jpg
/home/pi/Desktop/images/09012026/10/48/image_09012026_10_48_03_109925_0005.jpg
uploaded 0 photos
time to upload: 0.7918553352355957 secondes ---
after data_to_send, before sending request
begin to post requests
HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=2a7dd21537a1f147c01129faa8c71bb2&datou_current_id=4327568&datou=0 (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
requests timeout
Result Failed!
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:00:12.604628
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:00:22.713380
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:00:32.727795
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:00:42.632932
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:00:52.620525
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:01:03.031579
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:01:12.479173
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:01:22.505567
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:01:32.529318
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:01:42.537003
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:01:52.511971
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:02:02.672942
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:02:12.328535
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:02:22.444638
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:02:32.356550
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:02:42.322896
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:02:52.421121
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:03:02.766133
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:03:12.192174
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:03:22.214730
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:03:32.212926
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:03:42.258700
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:03:52.174877
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:04:04.089485
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:04:13.754723
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:04:23.815809
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:04:33.703577
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:04:43.672768
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:04:55.119434
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:05:03.460409
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:05:12.964256
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:05:23.046333
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:05:32.975288
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:05:43.013530
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:05:53.032434
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:06:02.758139
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:06:12.488458
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:06:22.445168
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:06:32.485141
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:06:42.406984
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:06:52.488865
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:07:02.797089
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:07:12.354844
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:07:22.476076
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:07:32.376483
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:07:42.334286
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:07:52.390854
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:08:02.486965
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:08:12.168425
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:08:22.190594
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:08:32.164722
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:08:42.269665
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:08:52.193734
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:09:02.798753
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:09:12.228741
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:09:22.224319
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:09:32.297086
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:09:42.254500
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:09:52.239359
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:10:04.041599
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:10:13.722414
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:10:23.879203
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:10:33.837523
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:10:43.694121
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:10:53.842243
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:11:02.961942
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:11:12.491654
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:11:22.648978
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:11:32.519489
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:11:42.484387
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:11:52.550508
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:12:02.783689
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:12:12.452906
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:12:22.455442
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:12:32.419277
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:12:42.511404
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:12:54.879785
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:13:05.731381
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:13:15.122606
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:13:25.175110
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:13:35.158341
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:13:45.131774
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:13:55.089916
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:14:02.396513
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:14:12.037121
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:14:22.085060
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:14:32.062741
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:14:42.031736
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:14:52.029432
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:15:02.274487
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:15:11.855248
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:15:21.945994
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:15:31.991998
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:15:41.832403
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:15:51.832550
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:16:03.096169
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:16:12.774916
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:16:22.813123
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:16:32.783938
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:16:42.766574
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:16:52.801501
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:17:02.985237
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:17:12.588199
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:17:22.755401
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:17:32.725730
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:17:42.611444
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:17:52.740981
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:18:02.858305
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:18:12.494366
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:18:22.566484
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:18:32.685052
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:18:42.549794
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:18:52.497910
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:19:02.855097
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:19:12.328070
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:19:22.367662
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:19:32.320775
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:19:42.283252
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:19:52.268321
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:20:02.624756
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:20:12.235482
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:20:22.315769
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:20:32.351379
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:20:42.282368
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:20:53.520035
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:21:03.999171
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:21:13.398758
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:21:23.417144
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:21:33.376387
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:21:43.385321
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:21:53.374633
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:22:04.387723
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:22:14.187647
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:22:24.641892
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:22:34.134747
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:22:44.162005
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:22:54.099196
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:23:02.429847
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:23:12.006061
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:23:22.010044
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:23:32.558841
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:23:41.968478
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:23:52.036437
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:24:02.115452
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:24:11.761829
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:24:21.838488
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:24:31.815076
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:24:41.785786
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:24:51.875480
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:25:03.243540
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:25:12.709190
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:25:22.805371
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:25:32.681790
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:25:42.689782
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:25:52.688983
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:26:03.109093
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:26:12.790211
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:26:22.794613
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:26:32.757646
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:26:42.744490
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:26:52.871353
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:27:03.011791
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:27:12.556665
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:27:22.714621
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:27:32.551849
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:27:42.709432
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:27:52.569918
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:28:03.365641
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:28:13.045879
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:28:23.078607
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:28:33.057895
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:28:43.031427
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:28:53.057099
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:29:02.337635
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:29:11.839403
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:29:21.878836
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:29:31.934395
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:29:41.920563
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:29:51.882991
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:30:03.034087
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:30:12.723719
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:30:22.724235
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:30:32.732906
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:30:42.707475
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:30:52.668064
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:31:03.201487
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:31:12.581353
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:31:22.577777
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:31:32.564948
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:31:42.535474
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:31:52.513318
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:32:02.684262
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:32:12.351404
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:32:22.510182
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:32:32.465197
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:32:42.485328
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:32:52.393872
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:33:02.780686
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:33:12.361373
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:33:22.450492
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:33:32.297339
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:33:42.281366
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:33:52.212174
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:34:02.455187
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:34:12.120819
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:34:22.195612
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:34:32.145218
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:34:42.155736
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:34:52.139249
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:35:02.368877
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:35:11.896492
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:35:21.901316
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:35:31.911499
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:35:41.924646
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:35:51.831454
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:36:03.136887
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:36:12.729788
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:36:22.800806
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:36:32.770556
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:36:42.806528
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:36:52.745665
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:37:03.169341
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:37:12.594346
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:37:22.671945
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:37:32.705674
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:37:42.594994
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:37:52.571959
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:38:02.775664
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:38:12.388956
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:38:22.494888
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:38:32.431740
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:38:42.403778
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:38:52.411630
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:39:02.685506
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:39:12.228344
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:39:22.317225
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:39:32.243314
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:39:42.231686
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:39:52.194842
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:40:02.423837
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:40:12.086709
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:40:22.135847
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:40:32.135400
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:40:42.103996
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:40:52.111397
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:41:02.437779
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:41:11.899852
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:41:21.985143
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:41:31.963644
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:41:43.751457
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:41:51.903821
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:42:02.096776
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:42:11.814157
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:42:21.921700
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:42:31.793548
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:42:41.796709
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:42:51.882563
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:43:03.121981
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:43:12.610034
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:43:22.673232
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:43:32.601371
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:43:42.673858
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:43:52.581198
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:44:02.852096
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:44:12.604254
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:44:22.602203
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:44:32.563384
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:44:42.631986
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:44:52.562445
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:45:03.044281
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:45:12.403826
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:45:22.419509
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:45:32.511714
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:45:42.412819
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:45:52.461734
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:46:02.643254
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:46:12.272797
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:46:22.347939
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:46:32.340485
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:46:42.384448
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:46:52.282551
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:47:02.660350
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:47:12.188741
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:47:22.226756
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:47:32.187866
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:47:42.215009
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:47:52.241650
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:48:02.470219
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:48:12.190984
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:48:22.251637
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:48:32.192953
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:48:42.174020
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:48:52.176091
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:49:02.500304
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:49:12.110275
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:49:22.083393
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:49:34.975460
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:49:42.002226
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:49:51.965987
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:50:02.225646
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:50:11.841634
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:50:21.953600
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:50:31.883754
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:50:41.843678
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:50:51.914613
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:51:03.355942
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:51:12.769748
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:51:22.723085
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:51:32.804643
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:51:42.744352
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:51:52.877038
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:52:02.961954
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:52:12.642832
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:52:22.718117
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:52:32.690709
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:52:42.710210
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:52:52.630963
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:53:03.235746
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:53:12.659589
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:53:22.649336
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:53:32.592774
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:53:42.619072
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:53:52.607902
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:54:02.809589
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:54:12.521621
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:54:22.494656
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:54:32.606408
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:54:42.584366
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:54:52.481792
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:55:02.731181
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:55:12.314104
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:55:22.369967
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:55:32.373845
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:55:42.285639
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:55:52.280679
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:56:02.523925
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:56:12.269695
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:56:22.306549
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:56:32.262017
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:56:42.200994
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:56:52.262021
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:57:02.553819
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:57:12.106817
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:57:22.110031
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:57:32.083547
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 10:59:02.697806
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:59:12.244684
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:59:22.231673
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:59:32.305409
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:59:42.184434
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 10:59:52.164013
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:00:02.753179
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:00:12.401483
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:00:22.436594
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:00:32.426336
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:00:42.498489
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:00:52.429650
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:01:03.207218
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:01:12.687824
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:01:22.616472
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:01:32.635285
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:01:42.598462
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:01:52.607379
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:02:02.131746
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:02:11.777151
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:02:21.816341
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:02:31.797818
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:02:41.778646
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:02:51.820053
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:03:02.433013
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:03:12.005588
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:03:22.027257
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:03:32.139712
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:03:42.135159
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:03:52.074692
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:04:02.616218
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:04:12.302151
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:04:22.292620
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:04:32.280573
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:04:42.292714
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:04:52.305747
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:05:03.002419
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:05:12.489212
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:05:22.517437
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:05:32.514339
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:05:42.498522
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:05:52.492406
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:06:03.037653
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:06:12.697116
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:06:22.747504
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:06:32.798133
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:06:42.682439
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:06:52.647170
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:07:02.345052
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:07:11.863228
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:07:21.869705
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:07:31.874947
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:07:41.861842
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:07:51.879918
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:08:02.405461
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:08:12.154112
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:08:22.109645
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:08:32.113232
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:08:42.199812
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:08:52.065601
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:09:02.737385
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:09:12.337229
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:09:22.434543
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:09:32.329518
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:09:42.356366
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:09:52.300517
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:10:02.834364
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:10:12.512097
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:10:22.530270
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:10:32.513222
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:10:42.532787
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:10:52.487214
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:11:03.071178
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:11:12.669983
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:11:22.705971
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:11:32.781852
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:11:42.662021
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:11:52.716200
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:12:02.239758
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:12:11.859842
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:12:22.016754
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:12:31.919642
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:12:41.995810
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:12:51.887397
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:13:02.595058
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:13:12.093083
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:13:22.192109
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:13:32.160936
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:13:42.144219
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:13:52.192683
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:14:02.702610
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:14:12.397064
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:14:22.399891
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:14:32.446123
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:14:42.379629
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:14:52.440226
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:15:03.164216
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:15:12.668305
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:15:22.683148
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:15:32.677718
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:15:42.673840
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:15:52.738105
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:16:02.297783
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:16:11.914017
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:16:21.956325
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:16:32.065770
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:16:41.997946
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:16:51.999466
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:17:02.684496
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:17:12.168656
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:17:22.217254
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:17:32.353643
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:17:42.188386
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:17:52.237248
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:18:02.751721
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:18:12.414450
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:18:22.488821
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:18:32.551816
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:18:42.525572
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:18:52.515224
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:19:03.221050
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:19:12.726350
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:19:22.826457
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:19:32.796486
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:19:42.768605
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:19:52.824738
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:20:02.381076
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:20:12.010555
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:20:22.078384
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:20:32.076772
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:20:42.018492
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:20:52.027170
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:21:02.723120
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:21:12.222587
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:21:22.265541
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:21:32.287372
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:21:42.276712
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:21:52.295552
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:22:02.888327
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:22:12.505868
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:22:22.513257
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:22:32.496775
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:22:42.467405
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:22:52.584703
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:23:02.285006
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:23:11.823364
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:23:21.821290
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:23:31.816194
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:23:41.804638
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:23:51.868848
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:24:02.466253
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:24:12.064413
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:24:22.178260
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:24:32.117711
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:24:42.121349
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:24:52.090208
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:25:02.839916
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:25:12.252210
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:25:22.347375
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:25:32.338366
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:25:42.306139
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:25:52.323867
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:26:02.868434
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:26:12.529803
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:26:22.545386
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:26:32.566777
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:26:42.676563
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:26:52.494773
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:27:03.234429
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:27:12.727861
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:27:22.737759
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:27:32.803992
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:27:42.758336
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:27:52.732624
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:28:02.263453
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:28:11.885860
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:28:21.927798
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:28:31.991843
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:28:41.947974
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:28:51.903912
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:29:02.783418
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:29:12.195440
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:29:22.230176
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:29:32.118595
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:29:42.116263
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:29:52.139388
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:30:02.630763
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:30:12.317865
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:30:22.346323
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:30:32.430136
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:30:42.341289
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:30:52.314324
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:31:02.972700
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:31:12.530106
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:31:22.608432
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:31:32.549025
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:31:42.635891
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:31:52.592832
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:32:02.082686
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:32:11.794455
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:32:21.820325
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:32:31.910987
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:32:41.784942
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:32:51.775768
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:33:02.451429
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:33:11.962125
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:33:22.015541
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:33:32.038642
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:33:41.994014
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:33:52.062324
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:34:02.594833
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:34:12.266345
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:34:22.314370
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:34:32.274174
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:34:42.327524
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:34:52.274031
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:35:02.909005
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:35:12.541606
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:35:22.510606
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:35:32.533897
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:35:42.526224
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:35:52.537650
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:36:03.122435
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:36:12.784580
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:36:22.800034
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:36:32.753828
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:36:42.768932
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:36:52.765123
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:37:02.523426
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:37:11.979076
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:37:22.033723
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:37:32.003752
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:37:42.036841
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:37:51.965923
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:38:02.549947
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:38:12.086639
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:38:22.167855
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:38:32.169713
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:38:42.148762
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:38:52.235745
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:39:02.851225
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:39:12.485055
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:39:22.459691
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:39:32.477908
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:39:42.504862
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:39:52.418025
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:40:02.931365
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:40:12.579644
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:40:22.657571
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:40:32.631735
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:40:42.607956
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:40:52.626119
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:41:02.312109
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:41:11.914757
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:41:21.857804
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:41:31.883421
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:41:41.884575
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:41:51.849066
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:42:02.476702
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:42:12.055327
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:42:22.055829
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:42:32.064212
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:42:42.067303
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:42:52.138096
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:43:02.799924
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:43:12.326942
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:43:22.371974
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:43:32.379642
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:43:42.370086
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:43:52.356573
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:44:02.940617
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:44:12.503618
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:44:22.609427
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:44:32.572995
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:44:42.652076
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:44:52.688772
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:45:02.271060
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:45:11.969166
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:45:21.910589
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:45:32.034902
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:45:41.969316
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:45:51.920182
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:46:02.462188
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:46:12.094911
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:46:22.170529
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:46:32.150420
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:46:42.156341
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:46:52.221663
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:47:02.969262
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:47:12.490005
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:47:22.533787
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:47:32.524545
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:47:42.540174
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:47:52.497552
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:48:03.097867
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:48:12.738098
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:48:22.728176
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:48:32.708008
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:48:42.689146
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:48:52.690881
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:49:02.473246
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:49:11.877070
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:49:21.919507
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:49:31.938158
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:49:41.930221
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:49:51.992418
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:50:02.488064
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:50:12.248138
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:50:22.263251
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:50:32.204769
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:50:42.286808
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:50:52.181151
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:51:02.904978
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:51:12.412275
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:51:22.470640
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:51:32.423925
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:51:42.490177
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:51:52.453574
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:52:02.991016
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:52:12.723177
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:52:22.682218
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:52:32.729808
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:52:42.671505
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:52:52.701356
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:53:02.515330
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:53:11.901315
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:53:21.930519
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:53:32.029194
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:53:41.988286
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:53:52.028286
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:54:02.597264
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:54:12.233163
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:54:22.216210
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:54:32.441805
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:54:42.237441
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:54:52.247314
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:55:02.843296
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:55:12.518353
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:55:22.525772
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:55:32.503450
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:55:42.530859
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:55:52.509210
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:56:03.077971
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:56:12.812717
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:56:22.816975
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:56:32.754797
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:56:42.870037
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:56:52.672060
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:57:02.437068
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:57:11.880988
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:57:21.954204
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:57:31.941548
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 11:59:02.849545
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:59:12.329591
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:59:22.386673
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:59:32.339725
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:59:42.324509
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 11:59:52.333283
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:00:02.944212
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:00:12.590683
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:00:22.587131
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:00:32.565721
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:00:42.574591
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:00:52.546486
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:01:03.303678
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:01:12.796424
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:01:22.800800
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:01:32.906759
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:01:42.799575
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:01:52.798240
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:02:02.309505
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:02:11.983379
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:02:22.006666
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:02:32.026742
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:02:42.002472
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:02:52.017501
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:03:02.665582
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:03:12.231424
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:03:22.327656
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:03:32.285008
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:03:42.257180
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:03:52.388996
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:04:03.034009
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:04:12.559941
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:04:22.580160
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:04:32.626856
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:04:42.567514
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:04:52.634846
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:05:02.426390
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:05:11.822640
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:05:21.837754
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:05:31.872409
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:05:41.898411
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:05:51.807362
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:06:02.369343
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:06:12.011109
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:06:22.016851
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:06:32.029475
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:06:42.006786
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:06:52.180076
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:07:02.954183
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:07:12.367698
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:07:22.462910
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:07:32.502126
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:07:42.405465
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:07:52.487338
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:08:03.019138
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:08:12.655386
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:08:22.759553
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:08:32.738508
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:08:42.819597
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:08:52.750210
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:09:02.456661
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:09:11.973728
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:09:21.996968
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:09:31.947153
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:09:41.987592
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:09:52.019109
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:10:02.533293
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:10:12.188127
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:10:22.203365
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:10:32.275946
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:10:42.232997
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:10:52.178148
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:11:02.910479
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:11:12.411446
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:11:22.427164
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:11:32.480284
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:11:42.400656
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:11:52.488006
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:12:03.048987
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:12:12.662018
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:12:22.739472
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:12:32.816923
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:12:42.724170
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:12:52.712330
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:13:02.493209
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:13:11.943342
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:13:21.945515
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:13:31.959800
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:13:42.030515
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:13:51.936172
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:14:02.491146
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:14:12.224400
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:14:22.241494
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:14:32.185230
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:14:42.273944
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:14:52.189450
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:15:02.853565
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:15:12.426215
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:15:22.433852
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:15:32.398728
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:15:42.428894
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:15:52.513933
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:16:03.019129
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:16:12.714276
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:16:22.715098
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:16:32.736112
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:16:42.719810
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:16:52.803973
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:17:02.501656
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:17:12.004936
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:17:22.057744
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:17:32.018798
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:17:42.072362
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:17:51.997327
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:18:02.557458
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:18:12.269630
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:18:22.184546
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:18:32.192453
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:18:42.187816
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:18:52.248920
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:19:02.952966
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:19:12.513475
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:19:22.497707
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:19:32.457858
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:19:42.504372
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:19:52.447296
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:20:03.044145
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:20:12.738951
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:20:22.706792
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:20:32.713620
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:20:42.735115
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:20:52.691781
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:21:02.377130
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:21:11.979927
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:21:21.924132
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:21:31.943412
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:21:41.882010
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:21:51.925297
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:22:02.454126
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:22:12.213133
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:22:22.127332
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:22:32.192785
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:22:42.164596
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:22:52.125329
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:23:02.676849
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:23:12.342826
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:23:22.347248
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:23:32.407245
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:23:42.379939
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:23:52.348285
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:24:02.913988
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:24:12.590796
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:24:22.568075
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:24:32.594241
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:24:42.626669
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:24:52.576537
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:25:03.335961
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:25:12.711099
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:25:22.787572
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:25:32.798167
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:25:42.857785
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:25:52.814329
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:26:02.382280
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:26:12.046316
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:26:22.044494
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:26:32.094496
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:26:42.120657
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:26:51.981622
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:27:02.661270
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:27:12.176583
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:27:22.215329
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:27:32.251339
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:27:42.274055
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:27:52.199551
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:28:02.755868
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:28:12.388739
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:28:22.486723
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:28:32.457433
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:28:42.548967
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:28:52.413723
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:29:03.196239
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:29:12.612581
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:29:22.707678
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:29:32.701465
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:29:42.625676
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:29:52.625202
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:30:02.182554
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:30:11.798774
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:30:21.948608
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:30:31.920176
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:30:41.837619
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:30:51.874510
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:31:02.532891
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:31:12.093678
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:31:22.184902
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:31:32.199827
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:31:42.184331
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:31:52.077265
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:32:02.590645
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:32:12.288298
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:32:22.261074
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:32:32.309045
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:32:42.256386
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:32:52.284098
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:33:03.066905
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:33:12.515335
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:33:22.464614
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:33:32.509064
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:33:42.445433
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:33:52.462322
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:34:03.043308
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:34:12.640043
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:34:22.716066
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:34:32.706091
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:34:42.665073
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:34:52.681277
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:35:02.355491
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:35:11.878612
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:35:21.837118
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:35:31.954902
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:35:41.837850
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:35:51.841621
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:36:02.368891
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:36:11.977219
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:36:22.075336
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:36:32.117754
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:36:42.107952
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:36:52.035720
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:37:02.782001
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:37:12.232759
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:37:22.288550
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:37:32.311967
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:37:42.278369
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:37:52.339271
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:38:02.873539
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:38:12.576658
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:38:22.542932
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:38:32.583260
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:38:42.590711
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:38:52.617308
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:39:02.365331
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:39:11.840849
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:39:21.856170
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:39:31.835533
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:39:41.914297
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:39:51.894919
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:40:02.435053
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:40:12.111507
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:40:22.126811
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:40:32.098751
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:40:42.170505
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:40:52.149218
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:41:02.933835
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:41:12.415590
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:41:22.461574
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:41:32.523279
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:41:42.479509
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:41:52.429031
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:42:02.976385
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:42:12.655182
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:42:22.675068
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:42:32.678572
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:42:42.720932
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:42:52.667759
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:43:02.345329
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:43:11.845146
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:43:22.016091
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:43:31.913685
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:43:41.942520
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:43:52.013609
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:44:02.567900
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:44:12.193168
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:44:22.256268
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:44:32.219770
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:44:42.214109
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:44:52.213321
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:45:02.880840
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:45:12.493317
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:45:22.510260
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:45:32.549639
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:45:42.474700
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:45:52.497595
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:46:03.048272
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:46:12.685819
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:46:22.724482
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:46:32.799974
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:46:42.740166
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:46:52.682363
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:47:02.383701
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:47:11.868196
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:47:22.027385
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:47:32.025199
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:47:41.925253
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:47:51.956367
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:48:02.497011
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:48:12.211318
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:48:22.160814
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:48:32.188018
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:48:42.126970
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:48:52.181864
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:49:02.896039
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:49:12.450712
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:49:22.457088
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:49:32.427026
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:49:42.475462
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:49:52.412799
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:50:02.957463
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:50:12.654543
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:50:22.667238
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:50:32.740592
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:50:42.710510
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:50:52.658494
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:51:02.400851
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:51:11.931175
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:51:21.900888
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:51:31.948204
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:51:41.873041
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:51:51.870001
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:52:02.389692
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:52:12.021834
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:52:22.110298
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:52:32.093371
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:52:42.081769
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:52:52.128639
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:53:02.864134
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:53:12.413037
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:53:22.319504
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:53:32.319154
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:53:42.317901
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:53:52.304750
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:54:02.801289
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:54:12.472638
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:54:22.526664
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:54:32.498023
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:54:42.492040
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:54:52.481648
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:55:03.228155
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:55:12.719266
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:55:22.699222
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:55:32.794860
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:55:42.678164
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:55:52.717198
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:56:02.338250
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:56:11.900687
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:56:22.006492
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:56:31.955320
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:56:41.986791
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:56:51.924555
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:57:02.680969
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:57:12.112607
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:57:22.127946
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:57:32.115278
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 12:59:03.042203
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:59:12.469347
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:59:22.478327
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:59:32.499093
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:59:42.517916
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 12:59:52.487442
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:00:03.067286
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:00:12.656850
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:00:22.736441
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:00:32.697477
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:00:42.757754
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:00:52.645129
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:01:02.367057
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:01:11.890753
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:01:21.953072
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:01:31.995402
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:01:42.021195
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:01:51.899981
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:02:02.377353
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:02:12.065621
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:02:22.085729
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:02:32.156135
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:02:42.108256
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:02:52.059059
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:03:02.704250
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:03:12.274990
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:03:22.288916
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:03:32.308903
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:03:42.337603
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:03:52.277582
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:04:02.851183
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:04:12.468745
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:04:22.493480
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:04:32.468729
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:04:42.500934
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:04:52.510288
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:05:03.328360
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:05:12.719449
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:05:22.777758
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:05:32.756334
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:05:42.782090
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:05:52.755727
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:06:02.338561
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:06:11.926514
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:06:22.014411
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:06:31.981070
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:06:42.057365
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:06:51.982315
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:07:02.752766
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:07:12.282010
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:07:22.296499
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:07:32.194107
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:07:42.269580
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:07:52.206534
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:08:02.743054
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:08:12.385375
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:08:22.530851
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:08:32.428804
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:08:42.432377
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:08:52.427537
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:09:03.196667
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:09:12.641904
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:09:22.686271
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:09:32.678063
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:09:42.648349
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:09:52.726119
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:10:02.286061
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:10:11.934103
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:10:21.938995
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:10:31.958954
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:10:41.962390
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:10:51.966680
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:11:02.595173
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:11:12.123092
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:11:22.157266
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:11:32.164470
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:11:42.157665
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:11:52.162946
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:12:02.704437
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:12:12.401533
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:12:22.385907
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:12:32.426515
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:12:42.375029
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:12:52.418034
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:13:03.200342
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:13:12.616022
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:13:22.636106
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:13:32.648885
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:13:42.651303
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:13:52.646048
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:14:02.190475
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:14:11.843174
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:14:21.889828
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:14:31.928231
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:14:41.892152
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:14:51.850093
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:15:02.584946
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:15:12.042433
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:15:22.048999
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:15:32.178065
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:15:42.140004
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:15:52.124965
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:16:02.651653
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:16:12.374223
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:16:22.370155
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:16:32.409717
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:16:42.316881
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:16:52.416162
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:17:02.970996
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:17:12.655299
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:17:22.617682
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:17:32.613598
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:17:42.618022
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:17:52.625204
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:18:02.186987
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:18:11.763839
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:18:21.813640
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:18:31.855442
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:18:41.812804
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:18:51.839514
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:19:02.713968
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:19:12.065621
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:19:22.181378
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:19:32.125153
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:19:42.053882
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:19:52.199797
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:20:02.772268
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:20:12.349452
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:20:22.367150
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:20:32.417072
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:20:42.404658
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:20:52.393791
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:21:03.227409
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:21:12.591115
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:21:22.695070
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:21:32.652958
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:21:42.619803
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:21:52.728006
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:22:02.280016
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:22:11.878944
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:22:21.944265
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:22:31.934817
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:22:41.978792
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:22:51.943447
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:23:02.624412
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:23:12.129180
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:23:22.257851
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:23:32.254655
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:23:42.145030
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:23:52.293533
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:24:02.871175
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:24:12.508294
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:24:22.516585
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:24:32.502495
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:24:42.517151
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:24:52.499025
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:25:03.246567
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:25:12.639036
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:25:22.705773
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:25:32.687341
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:25:42.696365
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:25:52.708535
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:26:02.221206
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:26:11.891518
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:26:21.938262
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:26:31.894746
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:26:41.980056
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:26:51.896676
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:27:02.773743
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:27:12.205541
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:27:22.116580
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:27:32.162926
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:27:42.225136
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:27:52.116112
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:28:02.683033
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:28:12.314082
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:28:22.347157
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:28:32.337754
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:28:42.346484
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:28:52.303690
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:29:03.053235
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:29:12.545396
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:29:22.654829
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:29:32.673782
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:29:42.537767
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:29:52.628203
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:30:02.182730
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:30:11.824479
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:30:21.870912
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:30:31.901877
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:30:41.917307
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:30:51.807714
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:31:02.557888
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:31:12.019831
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:31:22.085775
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:31:32.057835
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:31:42.077967
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:31:52.094352
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:32:02.619139
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:32:12.297262
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:32:22.350803
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:32:32.301020
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:32:42.392480
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:32:52.274313
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:33:03.060487
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:33:12.471280
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:33:22.516850
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:33:32.504983
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:33:42.509401
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:33:52.520769
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:34:03.058138
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:34:12.732998
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:34:22.759995
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:34:32.726669
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:34:42.725994
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:34:52.706135
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:35:02.368135
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:35:11.878224
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:35:22.006261
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:35:32.082785
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:35:41.939116
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:35:51.961573
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:36:02.496240
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:36:12.131417
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:36:22.176900
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:36:32.185608
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:36:42.176443
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:36:52.237080
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:37:02.964180
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:37:12.442034
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:37:22.486166
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:37:32.447388
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:37:42.452027
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:37:52.445599
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:38:02.979962
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:38:12.597781
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:38:22.666833
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:38:32.689886
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:38:42.681651
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:38:52.695082
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:39:02.338027
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:39:11.993566
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:39:21.933918
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:39:31.926195
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:39:41.928381
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:39:51.910659
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:40:02.426896
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:40:12.090744
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:40:22.147723
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:40:32.162767
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:40:42.173855
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:40:52.124253
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:41:02.892346
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:41:12.383560
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:41:22.433920
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:41:32.376369
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:41:42.325410
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:41:52.365782
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:42:02.876122
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:42:12.577472
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:42:22.611691
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:42:32.598423
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:42:42.588346
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:42:52.605469
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:43:02.393318
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:43:11.793331
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:43:21.958910
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:43:31.839843
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:43:41.915181
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:43:51.874085
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:44:02.375626
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:44:12.072947
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:44:22.099680
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:44:32.126732
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:44:42.097610
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:44:52.118884
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:45:02.862172
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:45:12.313290
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:45:22.509673
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:45:32.388036
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:45:42.495178
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:45:52.343130
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:46:02.896289
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:46:12.577246
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:46:22.643351
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:46:32.589888
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:46:42.619355
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:46:52.538723
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:47:03.184565
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:47:12.734100
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:47:22.809244
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:47:32.815518
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:47:42.791706
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:47:52.820814
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:48:02.337673
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:48:12.020560
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:48:22.039125
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:48:32.050722
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:48:42.047213
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:48:52.094207
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:49:02.764991
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:49:12.293863
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:49:22.430079
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:49:32.367355
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:49:42.326529
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:49:52.308645
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:50:02.833682
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:50:12.462986
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:50:22.538985
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:50:32.560881
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:50:42.564111
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:50:52.467009
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:51:03.130819
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:51:12.647494
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:51:22.739447
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:51:32.719484
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:51:42.713068
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:51:52.667679
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:52:02.233337
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:52:11.855973
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:52:21.890506
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:52:31.857342
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:52:41.926740
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:52:51.891250
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:53:02.620538
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:53:12.099344
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:53:22.185891
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:53:32.266611
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:53:42.157197
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:53:52.096647
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:54:02.643487
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:54:12.285137
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:54:22.347739
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:54:32.363904
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:54:42.424006
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:54:52.350102
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:55:02.962653
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:55:12.585780
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:55:22.566678
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:55:32.668761
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:55:42.686925
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:55:52.586943
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:56:02.106495
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:56:11.756939
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:56:21.829281
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:56:31.844967
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:56:41.837726
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:56:51.783124
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:57:02.493747
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:57:12.165412
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:57:21.995832
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:57:32.107619
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 13:59:03.085805
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:59:12.547049
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:59:22.521098
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:59:32.505202
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:59:42.675461
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 13:59:52.504462
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:00:02.536529
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:00:12.164636
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:00:22.326358
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:00:32.192036
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:00:42.279679
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:00:52.199285
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:01:02.929786
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:01:12.445122
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:01:22.487398
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:01:32.462814
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:01:42.485628
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:01:52.488797
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:02:02.671276
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:02:12.319983
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:02:22.395339
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:02:32.429879
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:02:42.351572
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:02:52.387381
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:03:02.672966
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:03:12.158968
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:03:22.174070
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:03:32.261737
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:03:42.183047
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:03:52.154175
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:04:02.057903
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:04:11.733551
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:04:21.900323
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:04:31.736617
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:04:41.713721
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:04:51.717615
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:05:03.021549
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:05:12.549203
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:05:22.517338
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:05:32.584598
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:05:42.485798
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:05:52.448953
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:06:02.805711
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:06:12.458037
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:06:22.531779
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:06:32.476078
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:06:42.433162
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:06:52.454704
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:07:02.835884
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:07:12.393827
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:07:22.508820
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:07:32.345901
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:07:42.364445
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:07:52.438915
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:08:02.531691
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:08:12.152727
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:08:22.281741
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:08:32.191843
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:08:42.251360
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:08:52.211407
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:09:02.596116
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:09:12.176020
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:09:22.078142
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:09:32.060588
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:09:42.078162
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:09:52.076899
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:10:02.393291
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:10:12.083515
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:10:22.132920
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:10:32.238369
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:10:42.114111
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:10:52.125299
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:11:02.502264
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:11:11.947808
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:11:22.032473
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:11:32.061889
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:11:41.926890
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:11:51.983029
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:12:02.280000
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:12:11.995130
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:12:22.094824
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:12:31.955371
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:12:42.078091
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:12:51.951957
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:13:02.280215
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:13:11.854414
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:13:22.023570
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:13:31.992890
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:13:41.990986
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:13:51.978026
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:14:03.121808
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:14:12.748681
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:14:22.891065
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:14:32.799847
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:14:42.828559
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:14:52.765479
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:15:03.139240
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:15:12.719142
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:15:22.642582
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:15:32.599841
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:15:42.675874
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:15:52.576656
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:16:02.959964
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:16:12.664133
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:16:22.785553
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:16:32.714665
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:16:42.656492
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:16:52.671509
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:17:02.982699
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:17:12.378015
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:17:22.360873
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:17:32.430840
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:17:42.427548
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:17:52.421079
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:18:02.732788
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:18:12.414241
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:18:22.591974
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:18:32.438553
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:18:42.437659
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:18:52.461563
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:19:02.706199
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:19:12.404922
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:19:22.341898
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:19:32.357242
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:19:42.274328
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:19:52.321470
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:20:02.397631
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:20:12.028679
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:20:22.157763
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:20:32.102753
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:20:42.093921
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:20:52.021358
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:21:02.424294
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:21:12.048144
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:21:22.029494
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:21:32.000857
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:21:41.945061
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:21:52.022010
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:22:02.111326
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:22:11.869045
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:22:21.959096
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:22:31.794713
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:22:41.802956
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:22:51.847871
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:23:04.737106
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:23:14.217635
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:23:24.264258
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:23:34.255455
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:23:44.295637
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:23:54.200108
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:24:02.653944
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:24:15.682568
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:24:22.333755
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:24:32.260045
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:24:42.243088
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:24:52.348421
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:25:02.680916
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:25:12.173024
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:25:22.212004
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:25:32.366340
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:25:42.193176
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:25:52.303109
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:26:02.496406
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:26:12.245374
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:26:22.254886
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:26:34.305414
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:26:42.267359
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:26:52.234161
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:27:02.433614
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:27:12.031611
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:27:22.124439
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:27:32.102409
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:27:41.966118
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:27:52.001484
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:28:02.405144
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:28:12.331951
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:28:22.168706
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:28:32.030903
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:28:42.011579
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:28:52.172046
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:29:02.653391
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:29:11.955207
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:29:22.134093
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:29:32.096527
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:29:41.944154
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:29:52.108832
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:30:03.104312
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:30:12.810665
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:30:22.900098
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:30:32.871045
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:30:42.822735
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:30:52.748934
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:31:03.136542
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:31:12.613626
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:31:22.636132
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:31:32.622941
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:31:42.612849
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:31:52.640017
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:32:02.853555
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:32:12.507606
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:32:22.564262
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:32:32.611623
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:32:42.584965
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:32:52.492002
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:33:02.929121
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:33:12.462743
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:33:22.513567
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:33:32.474292
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:33:42.630041
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:33:52.513953
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:34:02.560767
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:34:12.227330
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:34:22.311330
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:34:32.308759
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:34:42.317018
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:34:52.262342
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:35:02.516000
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:35:11.977805
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:35:22.028447
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:35:32.042569
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:35:42.743850
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:35:53.912602
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:36:03.452967
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:36:13.374495
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:36:23.184023
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:36:33.274953
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:36:43.255786
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:36:53.286276
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:37:03.113605
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:37:14.417778
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:37:22.622413
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:37:32.584614
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:37:42.634780
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:37:52.561371
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:38:02.832501
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:38:13.687354
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:38:22.626643
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:38:32.674342
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:38:42.571083
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:38:52.526439
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:39:02.925397
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:39:12.368521
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:39:22.475612
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:39:32.475075
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:39:42.358383
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:39:52.326160
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:40:02.654119
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:40:12.333747
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:40:22.441670
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:40:32.389781
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:40:42.444093
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:40:52.356933
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:41:02.424335
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:41:11.909635
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:41:21.934861
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:41:31.936878
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:41:41.942846
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:41:51.904487
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:42:02.095283
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:42:11.793377
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:42:21.865461
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:42:31.847979
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:42:41.799698
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:42:51.803651
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:43:03.261963
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:43:12.721709
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:43:22.776211
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:43:32.754921
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:43:42.721116
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:43:52.656930
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:44:02.965169
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:44:12.682375
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:44:22.779544
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:44:32.772832
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:44:42.691922
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:44:52.620208
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:45:02.970850
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:45:12.499283
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:45:22.563312
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:45:32.520101
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:45:42.493081
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:45:52.533412
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:46:02.880774
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:46:12.491368
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:46:22.624869
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:46:32.528814
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:46:42.610183
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:46:52.523904
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:47:02.837626
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:47:12.367284
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:47:22.453763
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:47:32.428837
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:47:42.431805
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:47:52.389326
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:48:02.554958
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:48:12.346713
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:48:22.446302
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:48:32.279025
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:48:42.369961
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:48:52.270294
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:49:02.730691
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:49:12.171326
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:49:22.216535
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:49:32.184034
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:49:42.161305
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:49:52.132412
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:50:02.523458
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:50:12.175947
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:50:22.258379
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:50:32.194613
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:50:42.180561
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:50:52.214571
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:51:02.574452
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:51:12.062570
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:51:22.148277
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:51:32.283470
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:51:42.033469
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:51:52.035685
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:52:02.261329
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:52:11.890046
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:52:21.944359
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:52:31.942902
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:52:41.985203
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:52:51.876216
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:53:02.345210
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:53:11.831976
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:53:21.834278
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:53:31.832185
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:53:41.842558
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:53:51.847456
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:54:03.012837
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:54:12.698816
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:54:22.749408
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:54:32.808673
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:54:42.816939
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:54:53.874834
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:55:03.056969
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:55:12.497111
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:55:22.673842
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:55:34.433061
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:55:42.688040
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:55:52.644502
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:56:02.900919
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:56:12.511351
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:56:22.585528
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:56:32.537158
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:56:42.585110
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:56:52.515601
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:57:03.018366
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:57:12.519579
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:57:22.611899
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:57:32.569667
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 14:59:02.985410
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:59:12.366429
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:59:22.382911
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:59:32.372301
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:59:42.394824
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 14:59:52.424260
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:00:02.985729
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:00:12.573881
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:00:22.641845
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:00:32.736550
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:00:42.601835
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:00:52.647336
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:01:02.322188
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:01:11.894204
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:01:21.872825
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:01:32.024082
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:01:41.887588
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:01:51.929928
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:02:02.372750
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:02:12.106934
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:02:22.197619
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:02:32.128578
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:02:42.113687
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:02:52.113646
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:03:02.901648
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:03:12.310505
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:03:22.406898
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:03:32.436769
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:03:42.411739
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:03:52.361836
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:04:02.955715
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:04:12.569424
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:04:22.609941
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:04:32.590099
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:04:42.551103
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:04:52.584621
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:05:02.190871
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:05:11.864404
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:05:21.876888
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:05:31.856537
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:05:41.839332
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:05:51.906371
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:06:02.486170
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:06:12.100293
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:06:22.183479
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:06:32.140730
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:06:42.124045
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:06:52.118045
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:07:02.752983
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:07:12.324087
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:07:22.367856
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:07:32.345674
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:07:42.468098
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:07:52.298619
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:08:02.883433
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:08:12.528311
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:08:22.512681
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:08:32.518886
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:08:42.600919
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:08:52.561962
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:09:03.345344
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:09:12.834032
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:09:22.790574
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:09:32.796266
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:09:42.884718
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:09:52.816346
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:10:02.327928
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:10:12.004960
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:10:22.019734
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:10:32.013222
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:10:41.992923
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:10:52.064118
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:11:02.777353
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:11:12.319161
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:11:22.319587
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:11:32.350311
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:11:42.307832
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:11:52.401664
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:12:02.926302
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:12:12.597240
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:12:22.627554
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:12:32.670943
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:12:42.699285
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:12:52.615877
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:13:02.277874
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:13:11.831945
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:13:21.942294
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:13:31.913516
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:13:41.843404
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:13:51.841414
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:14:02.372854
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:14:12.009064
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:14:22.176995
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:14:32.050308
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:14:42.132752
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:14:52.050167
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:15:02.762860
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:15:12.231649
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:15:22.254187
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:15:32.292351
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:15:42.288919
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:15:52.397758
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:16:02.893925
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:16:12.555155
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:16:22.579102
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:16:32.696002
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:16:42.652844
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:16:52.664151
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:17:02.403452
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:17:11.866823
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:17:21.938219
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:17:31.906064
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:17:41.886429
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:17:51.892957
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:18:02.438211
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:18:12.157745
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:18:22.192240
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:18:32.126085
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:18:42.127564
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:18:52.078446
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:19:02.774325
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:19:12.317403
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:19:22.297967
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:19:32.316612
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:19:42.264253
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:19:52.316159
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:20:02.814316
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:20:12.561747
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:20:22.571408
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:20:32.543697
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:20:42.638734
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:20:52.549414
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:21:03.244895
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:21:12.812534
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:21:22.775887
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:21:32.784446
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:21:42.772792
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:21:52.780410
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:22:02.358033
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:22:11.981391
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:22:22.017373
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:22:31.983338
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:22:42.015860
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:22:52.010736
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:23:02.743419
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:23:12.251868
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:23:22.296924
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:23:32.203119
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:23:42.264149
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:23:52.324470
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:24:02.794139
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:24:12.473181
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:24:22.544684
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:24:32.512270
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:24:42.604065
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:24:52.501549
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:25:03.185491
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:25:12.697228
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:25:22.731355
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:25:32.805268
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:25:42.708944
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:25:52.724421
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:26:02.259735
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:26:11.931066
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:26:21.996070
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:26:31.952981
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:26:42.009813
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:26:51.952088
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:27:02.799720
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:27:12.253327
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:27:22.189790
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:27:32.358796
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:27:42.193855
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:27:52.209298
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:28:02.729843
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:28:12.413981
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:28:22.445456
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:28:32.446072
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:28:42.464792
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:28:52.482073
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:29:03.248636
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:29:12.788120
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:29:22.741869
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:29:32.734758
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:29:42.862181
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:29:52.724092
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:30:02.220073
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:30:11.889938
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:30:21.951843
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:30:31.953796
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:30:41.947929
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:30:51.896521
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:31:02.517720
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:31:12.134410
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:31:22.137686
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:31:32.157601
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:31:42.132027
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:31:52.225001
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:32:02.700930
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:32:12.408981
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:32:22.437807
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:32:32.444984
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:32:42.555681
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:32:52.374763
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:33:03.225023
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:33:12.548978
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:33:22.621190
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:33:32.611929
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:33:42.645775
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:33:52.567909
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:34:03.140228
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:34:12.825521
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:34:22.902345
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:34:32.868287
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:34:42.787444
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:34:52.789094
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:35:02.570532
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:35:11.986351
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:35:22.023451
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:35:31.985049
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:35:42.029180
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:35:51.990706
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:36:02.552794
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:36:12.178673
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:36:22.225500
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:36:32.245366
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:36:42.164864
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:36:52.303777
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:37:03.089505
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:37:12.672764
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:37:22.664929
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:37:32.601107
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:37:42.542772
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:37:52.545468
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:38:03.069985
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:38:12.735814
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:38:22.752902
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:38:32.808422
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:38:42.729219
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:38:52.833632
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:39:02.526766
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:39:12.062362
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:39:22.105775
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:39:32.112029
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:39:42.047255
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:39:52.133499
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:40:02.676919
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:40:12.334870
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:40:22.388840
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:40:32.392333
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:40:42.369965
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:40:52.347047
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:41:03.129985
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:41:12.600685
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:41:22.583485
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:41:32.588761
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:41:42.632263
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:41:52.607578
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:42:02.124923
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:42:11.867383
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:42:21.869792
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:42:31.870099
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:42:41.878811
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:42:51.764392
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:43:02.604429
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:43:11.985703
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:43:22.053300
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:43:32.026066
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:43:42.042045
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:43:52.130879
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:44:02.693656
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:44:12.318018
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:44:22.479801
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:44:32.309757
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:44:42.366372
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:44:52.358027
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:45:03.141315
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:45:12.628443
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:45:22.592798
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:45:32.698847
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:45:42.628808
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:45:52.715155
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:46:02.179643
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:46:11.904709
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:46:21.937349
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:46:31.975146
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:46:41.927303
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:46:51.936415
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:47:02.772920
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:47:12.139396
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:47:22.194160
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:47:32.218778
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:47:42.233059
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:47:52.319379
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:48:02.858201
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:48:12.511638
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:48:22.559755
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:48:32.524170
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:48:42.548805
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:48:52.496493
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:49:03.220577
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:49:12.740281
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:49:22.810834
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:49:32.740582
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:49:42.728835
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:49:52.820983
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:50:02.348658
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:50:12.019250
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:50:22.078006
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:50:32.028463
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:50:42.054773
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:50:52.043228
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:51:02.767371
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:51:12.254692
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:51:22.426156
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:51:32.264539
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:51:42.363098
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:51:52.264718
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:52:02.828169
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:52:12.430299
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:52:22.498633
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:52:32.485499
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:52:42.526949
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:52:52.456035
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:53:03.135468
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:53:12.672634
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:53:22.765884
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:53:32.689835
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:53:42.724968
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:53:52.711113
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:54:02.203376
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:54:11.877413
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:54:21.916666
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:54:31.986670
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:54:41.982124
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:54:51.874758
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:55:02.662237
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:55:12.198505
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:55:22.100295
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:55:32.168152
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:55:42.086693
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:55:52.223500
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:56:02.730808
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:56:12.443147
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:56:22.417122
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:56:32.436127
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:56:42.527377
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:56:52.477934
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:57:03.251739
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:57:12.780177
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:57:22.654390
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:57:32.722866
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 15:59:02.615141
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:59:12.088707
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:59:22.137915
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:59:32.149499
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:59:42.159631
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 15:59:52.231635
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:00:02.832573
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:00:12.479301
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:00:22.474449
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:00:32.468666
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:00:42.479526
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:00:52.425986
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:01:03.120530
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:01:12.731693
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:01:22.657668
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:01:32.665799
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:01:42.738815
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:01:52.664410
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:02:02.256534
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:02:11.910310
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:02:21.935951
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:02:31.877234
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:02:41.941346
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:02:51.893716
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:03:02.625091
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:03:12.137327
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:03:22.210922
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:03:32.135256
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:03:42.175055
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:03:52.203351
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:04:02.767406
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:04:12.400288
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:04:22.479261
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:04:32.435827
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:04:42.439874
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:04:52.403921
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:05:03.163069
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:05:12.618590
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:05:22.658479
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:05:32.765530
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:05:42.646645
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:05:52.655348
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:06:02.163175
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:06:11.839483
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:06:21.917321
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:06:31.877467
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:06:41.925652
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:06:51.882301
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:07:02.434560
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:07:12.098471
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:07:22.113147
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:07:32.119861
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:07:42.219065
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:07:52.183135
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:08:02.709471
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:08:12.405644
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:08:22.425781
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:08:32.435460
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:08:42.384908
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:08:52.413559
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:09:03.125293
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:09:12.646513
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:09:22.686822
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:09:32.626871
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:09:42.644532
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:09:52.703467
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:10:02.199276
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:10:11.885314
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:10:21.914429
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:10:31.994008
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:10:41.951493
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:10:51.903767
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:11:02.637317
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:11:12.142194
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:11:22.195004
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:11:32.148231
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:11:42.107826
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:11:52.177931
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:12:02.640635
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:12:12.392653
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:12:22.438437
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:12:32.457713
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:12:42.458015
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:12:52.345586
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:13:03.169781
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:13:12.562497
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:13:22.588340
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:13:32.617416
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:13:42.577016
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:13:52.564207
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:14:02.067219
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:14:11.735425
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:14:21.772563
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:14:31.789176
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:14:41.776373
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:14:51.755151
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:15:02.584509
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:15:11.948024
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:15:22.006083
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:15:31.996329
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:15:42.106929
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:15:52.053178
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:16:02.621017
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:16:12.302055
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:16:22.367347
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:16:32.314440
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:16:42.336535
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:16:52.304149
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:17:03.135197
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:17:12.635632
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:17:22.606417
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:17:32.623593
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:17:42.631063
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:17:52.535006
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:18:03.047517
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:18:12.725254
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:18:22.757114
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:18:32.765912
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:18:42.795278
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:18:52.746850
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:19:02.394861
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:19:11.966733
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:19:22.093961
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:19:32.096646
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:19:42.009130
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:19:52.144641
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:20:02.637737
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:20:12.343358
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:20:22.383481
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:20:32.325640
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:20:42.347688
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:20:52.326705
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:21:03.023785
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:21:12.613589
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:21:22.646803
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:21:32.555454
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:21:42.605293
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:21:52.553735
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:22:03.099871
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:22:12.750440
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:22:22.821638
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:22:32.763695
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:22:42.817277
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:22:52.768534
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:23:02.451584
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:23:12.093349
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:23:22.013203
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:23:32.125069
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:23:42.167065
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:23:52.091617
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --last_days 25 --status_upload 2
2026-01-21 16:24:02.578171
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
Start to upload photos with parameters : -n perlen_0423 -P https -u marlene.fotonower.com -f /home/pi/Desktop/images -t 2a7dd21537a1f147c01129faa8c71bb2 --datou_id=533 --threshold=60 -j upload_by_sql_test -v --interval 1 --status_upload 2 --last_days=100
2026-01-21 16:24:12.290836
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : perlen_0423_21012026
 fc.token : 2a7dd21537a1f147c01129faa8c71bb2
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260121 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 335, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 407, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_21012026.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 1647, in _raise_ssl_error
    _raise_current_error()
  File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', '')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 344, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 459, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 625, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 349, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_read_bytes', '')])")))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            